writeSuspending

suspend fun <ERROR CLASS>.writeSuspending(buffer: String)
suspend fun <ERROR CLASS>.writeSuspending(buffer: <ERROR CLASS>)
suspend fun <ERROR CLASS>.writeSuspending(buffer: String, encoding: String)
suspend fun <ERROR CLASS>.writeSuspending(buffer: Any)
suspend fun <ERROR CLASS>.writeSuspending(buffer: Any, encoding: String)

Write to a stream, suspending until the write completes.